package com.ai.entity.made.camera;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Author jiaok
 * @Date 2024-09-13 16:45
 */
@Data
public class ReceiveCameraInfoBx {

    @ApiModelProperty(value = "主键,主键ID")
    private String cameraSid;

    @NotBlank(message = "摄像头code不能空")
    private String code;

    @ApiModelProperty(value = "摄像头名")
    private String nickname;

    @ApiModelProperty(value = "摄像头帐号")
    private String account;

    @ApiModelProperty(value = "摄像头密码")
    private String password;

    @ApiModelProperty(value = "摄像头IP")
    private String ip;

    @NotBlank(message = "摄像头RTSP地址不能为空")
    @ApiModelProperty("摄像头RTSP地址")
    private String url;

    @ApiModelProperty(value = "端口")
    private String port;

    @ApiModelProperty(value = "绑定功能列表")
    @NotBlank(message = "摄像头绑定的功能列表不能为空")
    private List<String> functionTypes;

}
